﻿using Nantianmen.Domain.Models;
using Nantianmen.Shared;

namespace Nantianmen.Core.Stores
{
    public interface IClusterDestinationStore
    {
        Task AddToDestinationAsync(Cluster cluster, string destinationId, CancellationToken cancellationToken);
        Task<bool> HasDestinationAsync(Cluster cluster, string destinationId, CancellationToken cancellationToken);
        Task RemoveFromDestinationAsync(Cluster cluster, string destinationId, CancellationToken cancellationToken);
        Task<bool> CheckDuplicateClusterDestinationAsync(string clusterId, string destinationId, CancellationToken cancellationToken);
    }
} 